package com.gdufe.studytogether.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("st_application")
public class Application {
    @TableId(type = IdType.AUTO)
    Integer id;
    Integer uid;
    @TableField(exist = false)
    String username;
    Integer gid;
    @TableField(exist = false)
    String groupName;
    @TableField(exist = false)
    Integer cid;
    @TableField(exist = false)
    String competitionName;
    Integer targetId;
    String type;//类型，0申请入队，1申请成功，2申请失败，3退出队伍，4被踢出队伍
}
